package edu.aysf;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 日志注解
@Slf4j
// 服务调用
@EnableFeignClients
// 服务注册
@EnableDiscoveryClient
@SpringBootApplication
public class GoodsApp {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApp.class);
        System.out.println("Goods App Started");
        // \n表示换行
        log.info("\nGoods App Started");
    }
}
